package com.liuqi.aiagent.mapper;

import com.liuqi.aiagent.transfer.entity.Variable;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @author liuqi
 * @date 2025/7/15
 **/
@Repository
@Mapper
public interface VariableMapper {

    int save(Variable variable);

    int edit(Variable variable);

    int delete(int id);

    Variable findById(int id);

    Variable findByName(String name);

    List<Variable> findAll();

}
